package com.baiyinet.biz;

import com.baiyinet.rest.ApiResult;

import java.util.ArrayList;

/**
 * Created by developer on 17-7-31.
 */

public class AdInfo extends ApiResult{

    public ArrayList<AdDetail> Data;

    public int Total;

    @Override
    public String toString() {
        return "AdInfo{" +
                "Data=" + Data +
                ", Total=" + Total +
                '}';
    }

    public ArrayList<AdDetail> getData() {
        return Data;
    }

    public void setData(ArrayList<AdDetail> data) {
        Data = data;
    }

    public int getTotal() {
        return Total;
    }

    public void setTotal(int total) {
        Total = total;
    }

    public static class AdDetail {
        String Image;
        String Url;

        @Override
        public String toString() {
            return "AdDetail{" +
                    "Image='" + Image + '\'' +
                    ", Url='" + Url + '\'' +
                    '}';
        }

        public String getImage() {
            return Image;
        }

        public void setImage(String image) {
            Image = image;
        }

        public String getUrl() {
            return Url;
        }

        public void setUrl(String url) {
            Url = url;
        }
    }
}
